package com.gzwh.v1.sysapi.server.dinner.impl;

import com.gzwh.v1.sysapi.dao.dinner.AskDetailedMapper;
import com.gzwh.v1.sysapi.entity.dinner.AskDetailed;
import com.gzwh.v1.sysapi.server.dinner.AskDetailedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AskDetailedServiceImpl implements AskDetailedService {

    @Autowired
    AskDetailedMapper askDetailedMapper;


    /**
     * 插入详细分类
     * 时间：2019-09
     * @param askDetailed
     * @return
     */
    public int insertAskDateiled(AskDetailed askDetailed){
        return askDetailedMapper.insertAskDetailed(askDetailed);
    }

    public int deleteAskDetailes(Long id){
        return askDetailedMapper.deleteAskDetailes(id);
    }

}
